/**
 * Copyright by 山西大昌集团 (c) 2018 DaChang Inc.
 * Date:2018年9月7日下午3:53:39
 * @author : LuNanTing
 * @Description : TODO
 */
package com.hikvision.cms.api.object.entity;

/**
 * @author : LuNanTing
 * @Title : ParseEntity.java 事件解析器
 */
public class ParseEntity {

	private String logId;

	private Integer eventState;

	private Integer eventLevel;

	private String unitIdx;

	private Integer eventType;

	private String eventTypeName;

	private Integer subSysType;

	private String eventName;

	private String startTime;

	private String stopTime;

	private String sourceIdx;

	private Integer sourceType;

	private String sourceName;

	private String logTxt;

	private String regionIdx;

	private PmsEventEntity extInfo;

	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	public Integer getEventState() {
		return eventState;
	}

	public void setEventState(Integer eventState) {
		this.eventState = eventState;
	}

	public Integer getEventLevel() {
		return eventLevel;
	}

	public void setEventLevel(Integer eventLevel) {
		this.eventLevel = eventLevel;
	}

	public String getUnitIdx() {
		return unitIdx;
	}

	public void setUnitIdx(String unitIdx) {
		this.unitIdx = unitIdx;
	}

	public Integer getEventType() {
		return eventType;
	}

	public void setEventType(Integer eventType) {
		this.eventType = eventType;
	}

	public String getEventTypeName() {
		return eventTypeName;
	}

	public void setEventTypeName(String eventTypeName) {
		this.eventTypeName = eventTypeName;
	}

	public Integer getSubSysType() {
		return subSysType;
	}

	public void setSubSysType(Integer subSysType) {
		this.subSysType = subSysType;
	}

	public String getEventName() {
		return eventName;
	}

	public void setEventName(String eventName) {
		this.eventName = eventName;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getStopTime() {
		return stopTime;
	}

	public void setStopTime(String stopTime) {
		this.stopTime = stopTime;
	}

	public String getSourceIdx() {
		return sourceIdx;
	}

	public void setSourceIdx(String sourceIdx) {
		this.sourceIdx = sourceIdx;
	}

	public Integer getSourceType() {
		return sourceType;
	}

	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getLogTxt() {
		return logTxt;
	}

	public void setLogTxt(String logTxt) {
		this.logTxt = logTxt;
	}

	public String getRegionIdx() {
		return regionIdx;
	}

	public void setRegionIdx(String regionIdx) {
		this.regionIdx = regionIdx;
	}

	public PmsEventEntity getExtInfo() {
		return extInfo;
	}

	public void setExtInfo(PmsEventEntity extInfo) {
		this.extInfo = extInfo;
	}

	@Override
	public String toString() {
		return "{ \r" + " logId:" + logId + "\r " + " eventState:" + eventState + "\r" + " eventLevel:" + eventLevel
				+ "\r" + " unitIdx:" + unitIdx + "\r" + " eventType:" + eventType + "\r" + " eventTypeName:"
				+ eventTypeName + "\r" + " subSysType:" + subSysType + "\r" + " eventName:" + eventName + "\r"
				+ " startTime:" + startTime + "\r" + " stopTime:" + stopTime + "\r" + " sourceIdx:" + sourceIdx + "\r"
				+ " sourceType:" + sourceType + "\r" + " sourceName:" + sourceName + "\r" + " logTxt:" + logTxt + "\r"
				+ " regionIdx:" + regionIdx + "\r" + " extInfo:\r" + extInfo + "}";
	}

}
